import request from '@/utils/request'

// 查询课程评价标签列表
export function listEvaluateTag(query) {
  return request({
    url: '/keep/evaluateTag/list',
    method: 'get',
    params: query
  })
}

// 查询课程评价标签详细
export function getEvaluateTag(id) {
  return request({
    url: '/keep/evaluateTag/' + id,
    method: 'get'
  })
}

// 新增课程评价标签
export function addEvaluateTag(data) {
  return request({
    url: '/keep/evaluateTag',
    method: 'post',
    data: data
  })
}

// 修改课程评价标签
export function updateEvaluateTag(data) {
  return request({
    url: '/keep/evaluateTag',
    method: 'put',
    data: data
  })
}

// 删除课程评价标签
export function delEvaluateTag(id) {
  return request({
    url: '/keep/evaluateTag/' + id,
    method: 'delete'
  })
}
